package cn.ecnu.comment.service;

import cn.ecnu.comment.vo.AdminCommentVo;
import cn.ecnu.comment.vo.CommentFrontVo;
import cn.ecnu.comment.vo.CommentVo;

import java.util.List;

public interface CommentService {
    CommentVo addComment(CommentFrontVo vo);

//    ViewCommentVo getCommentByNoteId(Integer noteId);

//    ViewCommentVo getCommentByUserId(Integer userId);

    int deleteById(Integer commentId);

    List<AdminCommentVo> getAllComment(Integer uid, Integer nid, Integer pid);
}
